//
//  NewTableViewCell.m
//  網易
//
//  Created by 赵天宇 on 16/9/7.
//  Copyright © 2016年 赵天宇. All rights reserved.
//

#import "NewTableViewCell.h"

@implementation NewTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(UIImageView *)imageV{
    if(_imageV == nil){
        _imageV = [[UIImageView alloc]initWithFrame:CGRectMake(10, 5, 119, 83)];
    }
    return _imageV;
}
-(UILabel *)lab{
    if(_lab ==nil){
        _lab = [[UILabel alloc]initWithFrame:CGRectMake(140, 5, 260, 40)];
        _lab.font = [UIFont systemFontOfSize:30];
        _lab.numberOfLines=0;
    }
    return _lab;
}
-(UILabel *)leftLab{
    if(_leftLab == nil){
        _leftLab = [[UILabel alloc]initWithFrame:CGRectMake(280, 80, 120, 20)];
        _leftLab.textColor = [UIColor grayColor];
        _leftLab.font = [UIFont systemFontOfSize:14];
    }
    return _leftLab;
}
-(UILabel *)fuLab{
    if(_fuLab == nil){
        _fuLab = [[UILabel alloc]initWithFrame:CGRectMake(140, 40, 200, 40)];
        _fuLab.numberOfLines=0;
        _fuLab.font=[UIFont systemFontOfSize:16];
        _fuLab.textColor = [UIColor grayColor];
    }
    return _fuLab;
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        [self.contentView addSubview:self.imageV];
        [self.contentView addSubview:self.lab];
        [self.contentView addSubview:self.leftLab];
        [self.contentView addSubview:self.fuLab];
    }
    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
